bitkeeper revision 1.1159.131.1 (417d67bbobqYkFS_Hlz2BuxPyvYHCw)
authorcl349@freefall.cl.cam.ac.uk <cl349@freefall.cl.cam.ac.uk>
Mon, 25 Oct 2004 20:53:15 +0000 (20:53 +0000)
committercl349@freefall.cl.cam.ac.uk <cl349@freefall.cl.cam.ac.uk>
Mon, 25 Oct 2004 20:53:15 +0000 (20:53 +0000)
Makefile:
  Update TAGS target to not include SCCS/* files.

xen/Makefile

index 7cf34537b512ec59b4cfb97be31372c39422d60a..58eaaa1c0c9a61075d64146674a3438dee962b33 100644 (file)
@@ -68,13 +68,14 @@ include/xen/compile.h:
        @LANG=C echo >> $@
 
 .PHONY: $(GENERATED_FILES) make-links delete-links default 
-.PHONY: debug install clean delete-unfresh-files
+.PHONY: debug install clean delete-unfresh-files TAGS
 
 SUBDIRS = arch common drivers 
 TAGS: 
-       etags `find include/asm-$(TARGET_ARCH) -name '*.h'`
-       find include -type d \( -name "asm-*" -o -name config \) -prune -o -name '*.h' -print | xargs etags -a
-       find $(SUBDIRS) -name '*.[ch]' | xargs etags -a
+       ( find include/asm-$(TARGET_ARCH) -name '*.h'; \
+         find include -type d \( -name "asm-*" -o -name config \) -prune -o \
+               -name '*.h' -print; \
+         find $(SUBDIRS) -name '*.[ch]' ) | grep -v /SCCS/ | etags -
 MAP:
        nm $(TARGET) | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map